package com.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AnoConfig {

    @Bean
    public CustomerByAnotation getCustomerInstance() {
        CustomerByAnotation customerByAnotation = new CustomerByAnotation();
        customerByAnotation.setPassword("123456789");
        customerByAnotation.setId(5555);
        customerByAnotation.setUname("class555");
        return  customerByAnotation;
    }
}
